gtk4.git
12 years agoGtkPopover: avoid a critical
Matthias Clasen [Thu, 30 Jan 2014 13:11:41 +0000 (08:11 -0500)]
GtkPopover: avoid a critical

focus_widget can be NULL, as pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=723181#c7

12 years agoUpdated Hebrew translation
Yosef Or Boczko [Thu, 30 Jan 2014 11:16:08 +0000 (13:16 +0200)]
Updated Hebrew translation

12 years agoUpdated Aragonese translation
Jorge Pérez Pérez [Thu, 30 Jan 2014 10:33:23 +0000 (11:33 +0100)]
Updated Aragonese translation

12 years agowidget-factory: Add a volume button
Matthias Clasen [Thu, 30 Jan 2014 03:32:14 +0000 (22:32 -0500)]
widget-factory: Add a volume button

12 years agoassistant: add text-button style class
William Jon McCann [Wed, 29 Jan 2014 03:41:50 +0000 (22:41 -0500)]
assistant: add text-button style class

https://bugzilla.gnome.org/show_bug.cgi?id=723212

12 years agoassistant: set window title with page title
William Jon McCann [Wed, 29 Jan 2014 03:36:16 +0000 (22:36 -0500)]
assistant: set window title with page title

This will set the headerbar title when necessary

https://bugzilla.gnome.org/show_bug.cgi?id=723212

12 years agotests: fix button underline in testassistant
William Jon McCann [Wed, 29 Jan 2014 02:42:39 +0000 (21:42 -0500)]
tests: fix button underline in testassistant

https://bugzilla.gnome.org/show_bug.cgi?id=723212

12 years agoassistant: make button labels match mockups
William Jon McCann [Wed, 29 Jan 2014 02:37:10 +0000 (21:37 -0500)]
assistant: make button labels match mockups

https://bugzilla.gnome.org/show_bug.cgi?id=723212

12 years agoassistant: add ability to use header bar
William Jon McCann [Wed, 29 Jan 2014 02:27:26 +0000 (21:27 -0500)]
assistant: add ability to use header bar

https://bugzilla.gnome.org/show_bug.cgi?id=723212

12 years agoGtkStyleContext: don't use disconnect_by_func()
Giovanni Campagna [Tue, 28 Jan 2014 18:47:05 +0000 (19:47 +0100)]
GtkStyleContext: don't use disconnect_by_func()

disconnect_by_func() is slow, and this becomes particularly evident
when disposing a number of widgets (and their associated style
context) at once, such as when using a language binding which
uses a GC.

https://bugzilla.gnome.org/show_bug.cgi?id=723183

12 years agoDepend on latest gtk-doc
William Jon McCann [Wed, 29 Jan 2014 19:19:04 +0000 (14:19 -0500)]
Depend on latest gtk-doc

12 years agodocs: don't escape entities in example code
William Jon McCann [Mon, 27 Jan 2014 20:42:15 +0000 (15:42 -0500)]
docs: don't escape entities in example code

https://bugzilla.gnome.org/show_bug.cgi?id=723119

12 years agodocs: Work around cpp complaining about comments in docs in the standard way
William Jon McCann [Mon, 27 Jan 2014 20:06:32 +0000 (15:06 -0500)]
docs: Work around cpp complaining about comments in docs in the standard way

https://bugzilla.gnome.org/show_bug.cgi?id=723119

12 years agodocs: Identify examples that are C code
William Jon McCann [Mon, 27 Jan 2014 19:55:18 +0000 (14:55 -0500)]
docs: Identify examples that are C code

https://bugzilla.gnome.org/show_bug.cgi?id=723119

12 years agodocs: use |[ ]| instead of <programlisting></programlisting>
William Jon McCann [Mon, 27 Jan 2014 17:12:55 +0000 (12:12 -0500)]
docs: use |[ ]| instead of <programlisting></programlisting>

https://bugzilla.gnome.org/show_bug.cgi?id=723119

12 years agoUpdated the POTFILES file
Yosef Or Boczko [Wed, 29 Jan 2014 05:39:05 +0000 (07:39 +0200)]
Updated the POTFILES file

Forgot this in the previus commit.

12 years agoUpdated the POTFILES file
Yosef Or Boczko [Wed, 29 Jan 2014 05:30:07 +0000 (07:30 +0200)]
Updated the POTFILES file

12 years agodocs: add docs for GtkFileChooserWidget signals
William Jon McCann [Tue, 28 Jan 2014 10:36:38 +0000 (05:36 -0500)]
docs: add docs for GtkFileChooserWidget signals

https://bugzilla.gnome.org/show_bug.cgi?id=723157

12 years agoMerge GtkFileChooserWidget and GtkFileChooserDefault
William Jon McCann [Tue, 28 Jan 2014 09:30:33 +0000 (04:30 -0500)]
Merge GtkFileChooserWidget and GtkFileChooserDefault

It seems that alternate implementations of GtkFileChooserWidget
never materialized. The split between GtkFileChooserWidget and
GtkFileChooserDefault is awkward. The immediate problem is that
it makes it difficult to document the keybinding signals. So it
makes sense to drop the abstraction and just have one thing.

https://bugzilla.gnome.org/show_bug.cgi?id=723157

12 years agodocs: remove spurious quotation mark
William Jon McCann [Tue, 28 Jan 2014 20:57:47 +0000 (15:57 -0500)]
docs: remove spurious quotation mark

12 years agolistbox: return GDK_EVENT_STOP if button events were handled
Carlos Garnacho [Tue, 28 Jan 2014 15:44:01 +0000 (16:44 +0100)]
listbox: return GDK_EVENT_STOP if button events were handled

The button press/release handlers did invariably return FALSE, even
though it shouldn't if a row was found on the event coordinates. Also,
use GDK_EVENT_* defines for the return values.

12 years agopopover: Improve minimal size allocation
Carlos Garnacho [Tue, 28 Jan 2014 15:02:47 +0000 (16:02 +0100)]
popover: Improve minimal size allocation

The minimal size if no child widget was present/shown was far too small
to have enough room for the arrow width plus border radii, so
gtk_render_frame_gap would spew warnings about the gap being out of
boundaries.

Fixes issues seen in
https://bugzilla.gnome.org/show_bug.cgi?id=723031#c2

12 years agopopover: Hide/ungrab on button release
Carlos Garnacho [Tue, 28 Jan 2014 13:05:08 +0000 (14:05 +0100)]
popover: Hide/ungrab on button release

If the grab is released during button press, the button release is
just then sent to the widget below the pointer. Depending on the
widget implementation, this could already trigger actions if the
widget does not perform any kind of button state tracking. It is
safer to ungrab on button release so no extra actions are possibly
triggered, and the behavior is uniform across widgets.

But the opposite situation may also happen, that a popover is
shown/grabbed on a button press event, so it'd get the sole button
release event after being shown, so prepare for that case by making
popover ignore single button release events with no preceding button
press.

Fixes issues seen in
https://bugzilla.gnome.org/show_bug.cgi?id=723031#c2

12 years agoImprove doc of gtk_widget_override_color()
Kjell Ahlstedt [Mon, 7 Oct 2013 13:33:31 +0000 (15:33 +0200)]
Improve doc of gtk_widget_override_color()

Mention that it's not recursively applied to a container's children.

https://bugzilla.gnome.org/show_bug.cgi?id=566945

12 years agodocs: don't use <guimenuitem>
William Jon McCann [Tue, 28 Jan 2014 07:16:33 +0000 (02:16 -0500)]
docs: don't use <guimenuitem>

We don't want to assume menu bar structures.

12 years agodocs: don't use <emphasis>
William Jon McCann [Tue, 28 Jan 2014 06:54:48 +0000 (01:54 -0500)]
docs: don't use <emphasis>

It is a little heavy handed. The text can speak for itself.

12 years agodocs: fix css properties table
William Jon McCann [Tue, 28 Jan 2014 06:27:39 +0000 (01:27 -0500)]
docs: fix css properties table

12 years agodocs: don't use <type> tags
William Jon McCann [Tue, 28 Jan 2014 05:06:30 +0000 (00:06 -0500)]
docs: don't use <type> tags

Use # syntax where appropriate.

12 years agoTrivial typo fix
Matthias Clasen [Tue, 28 Jan 2014 04:30:28 +0000 (23:30 -0500)]
Trivial typo fix

12 years agoPaper dialog: Use baseline alignment
Matthias Clasen [Tue, 28 Jan 2014 04:29:34 +0000 (23:29 -0500)]
Paper dialog: Use baseline alignment

This improves the positioning of the labels wrt to the spin
buttons.

12 years agoPrint dialog: Use baseline alignment in page setup tab
Matthias Clasen [Tue, 28 Jan 2014 04:16:28 +0000 (23:16 -0500)]
Print dialog: Use baseline alignment in page setup tab

Based on a patch from
https://bugzilla.gnome.org/show_bug.cgi?id=722722

12 years agoFix vertical alignment of labels in "Paper" section of the print dialog
Nikita Churaev [Tue, 21 Jan 2014 18:57:44 +0000 (22:57 +0400)]
Fix vertical alignment of labels in "Paper" section of the print dialog

https://bugzilla.gnome.org/show_bug.cgi?id=722722

12 years agodocs: use () instead of <function> tags
William Jon McCann [Tue, 28 Jan 2014 04:08:08 +0000 (23:08 -0500)]
docs: use () instead of <function> tags

12 years agodocs: don't use footnotes
William Jon McCann [Tue, 28 Jan 2014 02:35:14 +0000 (21:35 -0500)]
docs: don't use footnotes

Temporarily remove documentation for keybinding signals for
GtkFileChooserDefault until we can find a way to add them
properly.

12 years agoGtkPlacesSidebar: Stop drives that can be stopped
Matthias Clasen [Tue, 28 Jan 2014 02:52:01 +0000 (21:52 -0500)]
GtkPlacesSidebar: Stop drives that can be stopped

Removable USB drives or memory sticks should be powered down
when the eject button is pressed. For this, we need to call
g_drive_stop() instead of g_drive_eject(), provided the drive
can be stopped.

https://bugzilla.gnome.org/show_bug.cgi?id=723121

12 years agoGtkPlacesSidebar: Fix two copy-paste errors
Matthias Clasen [Tue, 28 Jan 2014 02:48:18 +0000 (21:48 -0500)]
GtkPlacesSidebar: Fix two copy-paste errors

Sadly, this means the code can have never been tested :-(

12 years agoGtkPlacesSidebar: Remove to FIXMEs
Matthias Clasen [Tue, 28 Jan 2014 02:47:14 +0000 (21:47 -0500)]
GtkPlacesSidebar: Remove to FIXMEs

It doesn't hurt to just add the ref here, as the FIXME suggests.

12 years agodocs: don't use structfield tags
William Jon McCann [Mon, 27 Jan 2014 22:13:43 +0000 (17:13 -0500)]
docs: don't use structfield tags

12 years agodocs: use #*-struct instead of <structname>
William Jon McCann [Mon, 27 Jan 2014 22:04:46 +0000 (17:04 -0500)]
docs: use #*-struct instead of <structname>

12 years agoprinting: Enable search through locations in printers list
Marek Kasik [Thu, 19 Dec 2013 13:52:16 +0000 (14:52 +0100)]
printing: Enable search through locations in printers list

Add printer_compare() function for comparing printers according
to their names and locations. It is possible to search by multiple
keys separated by space or tabulator using logical conjunction.

Based on patch by William Hua.

https://bugzilla.gnome.org/show_bug.cgi?id=692931

12 years agowin32: remove useless comment since we do not support win98 anymore
Ignacio Casal Quinteiro [Mon, 27 Jan 2014 13:39:26 +0000 (14:39 +0100)]
win32: remove useless comment since we do not support win98 anymore

12 years agowidget: emit synthesized crossing event with correct device position
Lionel Landwerlin [Thu, 18 Jul 2013 10:49:43 +0000 (11:49 +0100)]
widget: emit synthesized crossing event with correct device position

https://bugzilla.gnome.org/show_bug.cgi?id=704456

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 27 Jan 2014 12:56:08 +0000 (13:56 +0100)]
Updated Spanish translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 27 Jan 2014 12:55:58 +0000 (13:55 +0100)]
Updated Spanish translation

12 years agoprinting: Show "Replace" button when printing to existing file
Marek Kasik [Mon, 20 Jan 2014 14:38:42 +0000 (15:38 +0100)]
printing: Show "Replace" button when printing to existing file

Use gtk_dialog_add_button() which adds the button to
the message dialog correctly and uses gtk_widget_show() on it.

12 years agowin32: handle again gtk-font-name
Ignacio Casal Quinteiro [Mon, 27 Jan 2014 08:45:01 +0000 (09:45 +0100)]
win32: handle again gtk-font-name

This code is ugly but it seems to do the work

12 years agowin32: scale slider with marks was off by 2 pixels
Ignacio Casal Quinteiro [Mon, 27 Jan 2014 08:39:25 +0000 (09:39 +0100)]
win32: scale slider with marks was off by 2 pixels

12 years agoUse suggested-action style
Matthias Clasen [Sun, 26 Jan 2014 15:41:26 +0000 (10:41 -0500)]
Use suggested-action style

When using header bars, make the default button in
GtkDialog use the suggested-action style.

12 years agoUpdated Hebrew properties translation
Yosef Or Boczko [Sun, 26 Jan 2014 02:30:55 +0000 (04:30 +0200)]
Updated Hebrew properties translation

Signed-off-by: Yosef Or Boczko <yoseforb@src.gnome.org>
12 years agoUpdated Hebrew translation
Yosef Or Boczko [Sun, 26 Jan 2014 02:30:51 +0000 (04:30 +0200)]
Updated Hebrew translation

Signed-off-by: Yosef Or Boczko <yoseforb@src.gnome.org>
12 years agoUpdate expected output for accessible tests
Matthias Clasen [Sat, 25 Jan 2014 19:31:11 +0000 (14:31 -0500)]
Update expected output for accessible tests

12 years agoExclude GtkPopover::pointing-to from the defaultvalue test
Matthias Clasen [Sat, 25 Jan 2014 19:20:51 +0000 (14:20 -0500)]
Exclude GtkPopover::pointing-to from the defaultvalue test

12 years agoRevert "resources: Make Raleigh the real name of the theme"
Matthias Clasen [Sat, 25 Jan 2014 19:02:52 +0000 (14:02 -0500)]
Revert "resources: Make Raleigh the real name of the theme"

This reverts commit 6fa703b506a597e19d60f5f35d06547b4bf6f7fa.

This did not work after all - we're trying to load the theme
css by its name, and the alias makes that not work.

12 years agoGtkGrid: fix property installation
Matthias Clasen [Sat, 25 Jan 2014 18:49:27 +0000 (13:49 -0500)]
GtkGrid: fix property installation

The previous commit was misapplied.

12 years agowindow: add note about window references
David Schleef [Sat, 10 Dec 2011 22:29:16 +0000 (14:29 -0800)]
window: add note about window references

https://bugzilla.gnome.org/show_bug.cgi?id=665928

12 years agogtkgrid: Use g_object_class_install_properties() and g_object_notify_by_pspec()
Javier Jardón [Sun, 14 Nov 2010 02:49:26 +0000 (03:49 +0100)]
gtkgrid: Use g_object_class_install_properties() and g_object_notify_by_pspec()

https://bugzilla.gnome.org/show_bug.cgi?id=634793

12 years agogtkaccelgroup: Use g_object_class_install_properties() and g_object_notify_by_pspec()
Javier Jardón [Sun, 14 Nov 2010 02:38:04 +0000 (03:38 +0100)]
gtkaccelgroup: Use g_object_class_install_properties() and g_object_notify_by_pspec()

12 years agoClarify documentation of GtkAboutDialog::logo
Christian Dywan [Fri, 10 Dec 2010 10:26:07 +0000 (11:26 +0100)]
Clarify documentation of GtkAboutDialog::logo

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=636594
12 years agoRemove deprecations and warnings from tests
Matthias Clasen [Sat, 25 Jan 2014 02:09:34 +0000 (21:09 -0500)]
Remove deprecations and warnings from tests

This removes one instance of gtk_dialog_get_action_area.

12 years agoRemove deprecation warnings from demos and tests
Matthias Clasen [Sat, 25 Jan 2014 02:08:59 +0000 (21:08 -0500)]
Remove deprecation warnings from demos and tests

There were a few uses of gtk_widget_get_root_window that
need to be removed.

12 years agoDeprecate gtk_widget_get_root_window
Matthias Clasen [Sat, 25 Jan 2014 01:15:10 +0000 (20:15 -0500)]
Deprecate gtk_widget_get_root_window

The root window is a fairly X-centric concept, and it
really has no place in the GtkWidget API. Plus, this
is a rarely-used one-line convenience function with
poor documentation.

12 years agoDrop internal uses of gtk_widget_get_root_window
Matthias Clasen [Sat, 25 Jan 2014 01:13:01 +0000 (20:13 -0500)]
Drop internal uses of gtk_widget_get_root_window

This function is just a one-line convenience function that
is about to be deprecated.

12 years agonotebook: don't use a null page
William Jon McCann [Fri, 24 Jan 2014 23:40:57 +0000 (18:40 -0500)]
notebook: don't use a null page

12 years agoBug 711298 - "Edit Scheduled Transaction" window way too modal
John Ralls [Sun, 1 Dec 2013 22:02:11 +0000 (14:02 -0800)]
Bug 711298 - "Edit Scheduled Transaction" window way too modal

Put dialogs and utility windows in the same level as normal and
toolbar windows so that Gtk can control their stacking instead of
forcing them, rather unnaturally, to be on top of all other windows,
even other application windows, even when another application has
focus.

12 years agoRespect 12/24-hour clock setting in the file chooser
Matthias Clasen [Fri, 24 Jan 2014 23:04:51 +0000 (18:04 -0500)]
Respect 12/24-hour clock setting in the file chooser

Based on a patch by Garrett Regier in bug 699224.

12 years agoUse GDateTime in the file chooser
Garrett Regier [Sat, 7 Dec 2013 20:41:28 +0000 (12:41 -0800)]
Use GDateTime in the file chooser

Signed-off-by: Garrett Regier <garrett@yorba.org>
https://bugzilla.gnome.org/show_bug.cgi?id=699224

12 years agonotebook: add a style class when the child tab is reorderable
William Jon McCann [Fri, 24 Jan 2014 21:29:31 +0000 (16:29 -0500)]
notebook: add a style class when the child tab is reorderable

12 years agoaboutdialog: make use-header-bar override work from bindings
Cosimo Cecchi [Sun, 19 Jan 2014 22:48:05 +0000 (14:48 -0800)]
aboutdialog: make use-header-bar override work from bindings

Instead of setting "use-header-bar" from gtk_about_dialog_new(),
override its default value by inspecting the properties at constructor()
time. This makes it work from bindings as well, since they don't use the
convenience C constructor.

https://bugzilla.gnome.org/show_bug.cgi?id=722574

12 years agoGtkHeaderBar: try harder to find the best window icon
Matthias Clasen [Fri, 24 Jan 2014 20:40:37 +0000 (15:40 -0500)]
GtkHeaderBar: try harder to find the best window icon

GtkWindow has 4 (!) APIs for setting window icons, and we
have to try them all in the right order to find the right
icon. This commit makes it so, and keeps the icon list
manipulation inside gtkwindow.c by adding a private API
for getting a single icon at the right size.

https://bugzilla.gnome.org/show_bug.cgi?id=722515

12 years agonotebook: add a style for prelighted labels
William Jon McCann [Fri, 24 Jan 2014 17:50:19 +0000 (12:50 -0500)]
notebook: add a style for prelighted labels

12 years agowin32: set color for scale marks
Ignacio Casal Quinteiro [Fri, 24 Jan 2014 17:27:43 +0000 (18:27 +0100)]
win32: set color for scale marks

12 years agowin32: add margin to scale trough
Ignacio Casal Quinteiro [Fri, 24 Jan 2014 16:57:59 +0000 (17:57 +0100)]
win32: add margin to scale trough

12 years agowin32: add more width to the slider to not cut it when using marks
Ignacio Casal Quinteiro [Fri, 24 Jan 2014 16:30:28 +0000 (17:30 +0100)]
win32: add more width to the slider to not cut it when using marks

12 years agoUse a define for the default theme name
William Jon McCann [Fri, 24 Jan 2014 13:04:04 +0000 (08:04 -0500)]
Use a define for the default theme name

12 years agoresources: Make Raleigh the real name of the theme
William Jon McCann [Fri, 24 Jan 2014 12:55:00 +0000 (07:55 -0500)]
resources: Make Raleigh the real name of the theme

And make gtk-default.css an alias to it.

12 years agoMSVC Builds: "Install" gtk3-demo.png
Chun-wei Fan [Fri, 24 Jan 2014 07:00:55 +0000 (15:00 +0800)]
MSVC Builds: "Install" gtk3-demo.png

This is needed to show the gtk3-demo icon and is needed for the "Multiple
Views" demo to work.  Hmm, why couldn't I do a for loop for a batch in a
property sheet ? :|

12 years agoUpdate Visual Studio Build Files
Chun-wei Fan [Fri, 24 Jan 2014 06:20:07 +0000 (14:20 +0800)]
Update Visual Studio Build Files

-"Install" the newly-added public gtkpopover.h
-Make the gtk3-demo projects up-to-date

12 years agoAdd an #ifdef to shut gtk-doc up
Matthias Clasen [Fri, 24 Jan 2014 02:08:34 +0000 (21:08 -0500)]
Add an #ifdef to shut gtk-doc up

gtk-doc complains that the stock macros are deprecated,
but not in an #ifdef block. So add one.

12 years agoBuild gtk-doc scanner without deprecation warnings
Matthias Clasen [Thu, 23 Jan 2014 23:49:12 +0000 (18:49 -0500)]
Build gtk-doc scanner without deprecation warnings

Use of deprecated symbols is expected in this code,
no need to warn about it.

12 years agoFix gtkenums doc section
Matthias Clasen [Thu, 23 Jan 2014 23:48:46 +0000 (18:48 -0500)]
Fix gtkenums doc section

12 years agoAdd versioned dependencies in pc files
Matthias Clasen [Thu, 23 Jan 2014 23:26:07 +0000 (18:26 -0500)]
Add versioned dependencies in pc files

This helps with runtime deps between devel packages.
https://bugzilla.gnome.org/show_bug.cgi?id=722638

12 years agoSlight rewording of some docs
Matthias Clasen [Thu, 23 Jan 2014 22:41:37 +0000 (17:41 -0500)]
Slight rewording of some docs

12 years agoTrivial formatting fix
Matthias Clasen [Wed, 22 Jan 2014 20:21:49 +0000 (15:21 -0500)]
Trivial formatting fix

12 years agoresources: move resources into a subdirectory
William Jon McCann [Thu, 23 Jan 2014 23:59:20 +0000 (18:59 -0500)]
resources: move resources into a subdirectory

12 years agoImprove docs for focus-line-pattern
William Jon McCann [Thu, 23 Jan 2014 21:23:24 +0000 (16:23 -0500)]
Improve docs for focus-line-pattern

12 years agogdk: enable rgba visuals by default
William Jon McCann [Wed, 22 Jan 2014 23:48:45 +0000 (18:48 -0500)]
gdk: enable rgba visuals by default

Unless GDK_RGBA=0 is set.

https://bugzilla.gnome.org/show_bug.cgi?id=630217

12 years agoUse 16px as default button and small toolbar icon sizes
William Jon McCann [Thu, 23 Jan 2014 02:02:58 +0000 (21:02 -0500)]
Use 16px as default button and small toolbar icon sizes

https://bugzilla.gnome.org/show_bug.cgi?id=350190

12 years agodocs: Add more a reference in GtkHeaderBar
Yosef Or Boczko [Thu, 23 Jan 2014 16:28:17 +0000 (18:28 +0200)]
docs: Add more a reference in GtkHeaderBar

12 years agostock icons: print icons no longer fuzzy
Jakub Steiner [Thu, 23 Jan 2014 11:01:00 +0000 (12:01 +0100)]
stock icons: print icons no longer fuzzy

- improve legibility by aligning to the grid
- less dramatic stroke around application-exit

12 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 23 Jan 2014 09:53:51 +0000 (10:53 +0100)]
Updated Spanish translation

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Wed, 22 Jan 2014 20:10:54 +0000 (21:10 +0100)]
Updated Scottish Gaelic translation

12 years agowindow: add missing return
Carlos Garnacho [Wed, 22 Jan 2014 19:49:13 +0000 (20:49 +0100)]
window: add missing return

A branch in the if/else if/else was missing a return, that was
unintended.

12 years agomagnifier: Fix compiler warning
Carlos Garnacho [Wed, 22 Jan 2014 19:48:51 +0000 (20:48 +0100)]
magnifier: Fix compiler warning

12 years agoUpdated POTFILES.in and POTFILES.skip
Piotr Drąg [Wed, 22 Jan 2014 18:41:26 +0000 (19:41 +0100)]
Updated POTFILES.in and POTFILES.skip

12 years agoMerge branch 'popovers'
Carlos Garnacho [Wed, 22 Jan 2014 17:42:29 +0000 (18:42 +0100)]
Merge branch 'popovers'

12 years agopopover: Don't overdraw background
Carlos Garnacho [Wed, 22 Jan 2014 17:32:16 +0000 (18:32 +0100)]
popover: Don't overdraw background

It was only done so the background would connect visually to the popover
tail, but then it brings aliasing issues when the border is drawn over the
background. Instead, overdraw the tail, so it also fills the gap left by
the border.

12 years agopopover: Update child visibility when scrolling happens
Carlos Garnacho [Wed, 22 Jan 2014 15:45:01 +0000 (16:45 +0100)]
popover: Update child visibility when scrolling happens

If pointing_to starts falling outside of the parent scrollable allocation,
the popover will be automatically hidden, and shown back again when
pointing_to scrolls back to visibility.

12 years agopopover: Track parent scrollable adjustments
Carlos Garnacho [Wed, 22 Jan 2014 15:43:37 +0000 (16:43 +0100)]
popover: Track parent scrollable adjustments

This makes sure popovers follow the relative_to widget if it is
contained within a GtkScrollable.

12 years agotexthandle: Update child visibility of handles within scrollables
Carlos Garnacho [Wed, 22 Jan 2014 15:41:00 +0000 (16:41 +0100)]
texthandle: Update child visibility of handles within scrollables

If the rect a handle points to starts falling outside of the parent
scrollable allocation, the handle will be automatically hidden, and
shown again when the rectangle is visible too.

12 years agotexthandle: Track parent scrollable adjustments
Carlos Garnacho [Wed, 22 Jan 2014 15:39:10 +0000 (16:39 +0100)]
texthandle: Track parent scrollable adjustments

This makes sure texthandles follow the parent if it is contained within a
GtkScrollable.